Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This commit has fixes for path partsing and it uses the root for temp files #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

issackelly
Copy link
Contributor

I think it should at least be configurable where to store the temp files, but the same root as the data directory is safer, as you can't rename files across filesystem types in the way spanreed is doing so now.

I am also seeing filenames like this:

./259d/63393439333239642d366630662d346437612d613138312d636435323632386165626163/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.incremental

Which has 72 characters for the doc id and 64 for the hash. I haven't dug into why yet.

The loading function was also not previously working. The implementation is now functional, if not entirely correct.

@gterzian
Copy link
Collaborator

@issackelly thanks for the contrib!

@alexjg I will let you review since you implemented this part.

@issackelly
Copy link
Contributor Author

This one doesn't address #52 in any meaningful way, we should extract that out of the issackelly:compaction branch.
The character length issue is something like ::str::hex::str::hex::random_128_uint which is getting expected results. Fine to leave as is for now I guess but some optimizations for humans might be warranted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants